package com.ztc.ZtcCtripData.service;
import com.ztc.ZtcCtripData.bean.ZtcCtripData;
import com.ztc.ZtcCtripData.dao.ZtcCtripDataDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service("ZtcCtripData")
public class ZtcCtripDataManager{
    @Autowired
    ZtcCtripDataDao ztcCtripDataDao;

    public ZtcCtripData getByOrderId(String orderId){
        return ztcCtripDataDao.findUniqueBy("fkOrderId",orderId);
    }
}
